using SkaldRogueLike.Main.Common;
using SkaldRogueLike.Main.Constants.Enumerations;

namespace SkaldRogueLike.Main.CellContent
{
    public class CellContent
    {
        public string Name { get; protected set; }
        public string Description { get; protected set; }
        public string Image { get; set; }
        public Colors Color { get; set; }
        public int X { get; protected set; }
        public int Y { get; protected set; }

        public CellContent(string name = "", string image = "", Colors color = Colors.White, string description = "")
        {
            Name = name;
            Image = image == "" ? Styles.Empty : image;
            Color = color;
            Description = description;
        }

        public void Move(int x, int y)
        {
            X = x;
            Y = y;
        }
    }
}